package com.xtyhz.pojo.app;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * TableName ap_user_profiles
 */
@TableName(value ="ap_user_profiles")
@Data
@Schema(description = "用户个人资料表")
public class ApUserProfiles implements Serializable {

    @TableId(type = IdType.AUTO)
    @Parameter(name = "id", description = "用户个人资料表ID", required = true)
    private Long id;

    @Parameter(name = "userId", description = "管理员真实姓名", required = true)
    @TableField("user_id")
    private Long userId;

    @Parameter(name = "realName", description = "管理员真实姓名", required = true)
    @TableField("real_name")
    private String realName;

    @Parameter(name = "idCard", description = "管理员真实姓名", required = true)
    @TableField("id_card")
    private String idCard;

    @Parameter(name = "birthday", description = "管理员真实姓名", required = true)
    private Date birthday;

    @Parameter(name = "age", description = "管理员真实姓名", required = true)
    private Integer age;

    @Parameter(name = "education", description = "管理员真实姓名", required = true)
    private String education;

    @Parameter(name = "profession", description = "管理员真实姓名", required = true)
    private String profession;

    @Parameter(name = "bio", description = "管理员真实姓名", required = true)
    private String bio;

    @Parameter(name = "createdTime", description = "管理员真实姓名", required = true)
    @TableField("created_time")
    private Date createdTime;

    @Parameter(name = "updatedTime", description = "管理员真实姓名", required = true)
    @TableField("updated_time")
    private Date updatedTime;


}